/* $RCSFile: CookieLessException.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.Core/Configuration/Exceptions/CookieLessException.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:27  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Net;
using System.Runtime.Serialization;
using System.Security.Permissions;

namespace AddonNice.Configuration
{
	/// <summary>
	/// Custom exception thrown when the portal alias in unknawn.
	/// </summary>
	[Serializable]
	public class CookieLessException : Exception
	{
		/// <summary>
		/// Default constructor.
		/// </summary>
		public CookieLessException()
		{
		}

		/// <summary>
		/// Constructor with message.
		/// </summary>
		/// <param name="message">Text message to be included in log.</param>
		public CookieLessException(string message) : base(message)
		{
		}

		/// <summary>
		/// Constructor with message and innerException.
		/// </summary>
		/// <param name="message">Text message to be included in log.</param>
		/// <param name="inner">Inner exception</param>
		public CookieLessException(string message, Exception inner) : base(message, inner)
		{
		}
	}
}
